package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.TravelCommend;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ITravelCommendService {
    /**
     * 根据类型查询推荐游记
     * @param type
     * @return
     */
    List<TravelCommend> listCommend(Integer type);

    PageInfo<TravelCommend> query(QueryObject qo);

    void saveOrUpdate(TravelCommend entity);
}
